home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
553
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: stdc.demon.co.uk!clive
From: clive@stdc.demon.co.uk (Clive D.W. Feather)
Newsgroups: comp.std.c
Subject: Re: Multibyte and wide-character support
Date: Tue, 12 Mar 1996 06:12:08 GMT
Organization: Demon Internet Limited (personal account)
Message-ID: <Do558A.6po@stdc.demon.co.uk>
References: <4he9gg$m9l@pentagon.io.com> <KANZE.96Mar7135846@gabi.gabi-soft.fr>
Reply-To: cdwf@cityscape.co.uk
X-NNTP-Posting-Host: stdc.demon.co.uk
In article <KANZE.96Mar7135846@gabi.gabi-soft.fr>,
J. Kanze <kanze@gabi-soft.fr> wrote:
>In article <4he9gg$m9l@pentagon.io.com> jamshid@io.com (Jamshid Afshar)
>writes:
>|> Btw, VC++4's docs say that if mbstowcs()'s wchar_t* destination
>|> argument is NULL then the function doesn't do a conversion of the
>|> multibyte string; it just returns the size needed to store the
>|> multibyte string.
> No mention of it in my copy of the standard.
But mbsrtowcs has the functionality you require.
>|> Also, the VC++4 docs seem to indicate fputws(), a
>|> wchar_t version of fputs(), is "ANSI" compatible. Standard C doesn't
>|> actually specify any wide-character i/o functions, does it?
> There not in the index, anyway.
Then your copy is out of date. fputws is part of the C Standard.
--
Clive D.W. Feather | If you lie to the compiler,
cdwf@cityscape.co.uk (work, preferred) | it will get its revenge.
clive@stdc.demon.co.uk (home) | - Henry Spencer